package com.jiugang.cardump.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class MonitorParamPOJO {
    private String equipmentId; //设备编号
    private Integer page;  //页码
    private Integer size;  //每页条数


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss") //搜索开始时间
    private LocalDateTime searchStartTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss") //搜索结束时间
    private LocalDateTime searchEndTime;
}
